import React from 'react';
import '../index.less';
import {connect} from "dva";
import Curd from "components/Curd";
import createColumns from './columns';
import SearchColumns from './searchColumns'


@connect(({qualityData, hospital, qualityList}) => ({qualityData, hospital, qualityList}))
export default class extends Curd {

  static defaultProps = {
    align: 'center',
    showAddDelete: false,
  }

  getNamespace() {
    return 'qualityData';
  }

  getTableColumns() {
    return createColumns(this);
  }

  getSearchColumns() {
    return SearchColumns(this);
  }
}
